package com.woniu.elderly.wares.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.woniu.common.entity.WaresCategory;
import com.woniu.elderly.wares.service.WaresCategoryService;
import com.woniu.elderly.wares.mapper.WaresCategoryMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Administrator
* @description 针对表【wares_category】的数据库操作Service实现
* @createDate 2024-08-02 11:43:32
*/
@Service
public class WaresCategoryServiceImpl extends ServiceImpl<WaresCategoryMapper, WaresCategory>
    implements WaresCategoryService{
    @Autowired
    private WaresCategoryMapper waresCategoryMapper;
    @Override
    public List<WaresCategory> getCategories() {
        List<WaresCategory> list = waresCategoryMapper.selectList(null);
        return list;
    }
}




